<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>UnescapeString</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">UnescapeString()</font></b></p>
<p><b>语法</b></p><blockquote>

Result$ = <font color="#3A3966"><b>UnescapeString</b></font>(String$ [, Mode])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the unescaped version of the string. <a href="escapestring.html">EscapeString()</a>() can be used to 
do the reverse operation. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>String$</i></td>
<td width="90%"> 
 
The string to unescape. 

 

</td></tr>
<tr><td><i>模式 （可选）</i></td>
<td> 
 
The mode to use when unescaping the string. 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_String_EscapeInternal</font>: unescape the string using PureBasic internal format (see <a href="../reference/general_rules.html">General rules</a>
                             for accepted escape sequences) (default).
  <font color="#924B72">#PB_String_EscapeXML</font>     : unescape the string using the XML escape characters. This can be useful to easily read any string from an
                             XML tree.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



An unescaped string. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">UnescapeString</font>(~"Test=\"Hello\".") <font color="#3A3966">; Will display "Test="Hello"."</font>
  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">UnescapeString</font>("&amp;lt;item&amp;gt;Hello&amp;lt;/item&amp;gt;", <font color="#924B72">#PB_String_EscapeXML</font>) <font color="#3A3966">; Will display "&lt;item&gt;Hello&lt;/item&gt;"</font>
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="escapestring.html">EscapeString()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=ucase.html>UCase()</a> - <a href="index.html">String Index</a> - <a href="val.html">Val()</a> -&gt;<br><br>

</body></html>